package web.generator.domain;

import lombok.Data;

/**
 * @Author ZhangGJ
 * @Date 2019/10/11
 */
@Data
public class ColumnInfo extends BaseEntity{
    /**
     * 列名
     */
    private String columnName;
    /**
     * 字段类型
     */
    private String dataType;
    /**
     * 列注释
     */
    private String columnComment;
    /**
     * Java类型
     */
    private String attrType;
    /**
     * Java属性名称(第一个字母大写)，如：user_name => UserName
     */
    private String attrName;
    /**
     * Java属性名称(第一个字母小写)，如：user_name => userName
     */
    private String attrname;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public String getAttrname() {
        return attrname;
    }

    public void setAttrname(String attrname) {
        this.attrname = attrname;
    }

    public String getAttrType() {
        return attrType;
    }

    public void setAttrType(String attrType) {
        this.attrType = attrType;
    }

}
